package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.CMReportDTO;
import com.ttg.model.pojo.CostManageMerchDepositLoan;
import com.ttg.model.vo.CMIndustryDepositVO;
import com.ttg.model.vo.CMMerchDepositVO;

import java.util.List;

/**
 * (TblCostManageMerchDepositLoan) dao
 *
 * @author chenyou
 * @datetime 2025-09-03 11:02:24
 */
public interface CostManageMerchDepositLoanDao extends IService<CostManageMerchDepositLoan>{

    CostManageMerchDepositLoan getByUnique(String intervalType,String year,String month, String clsId1, String clsId2,String mctNo);

    void saveOrUpd(CostManageMerchDepositLoan merchDepositLoan);

    List<String> selectYears();

    List<String> selectMonths(String year);

    BasePage<CMMerchDepositVO> merchDeposit(BasePage page, CMReportDTO reqDto);

}

